<!--
    ScadaBR - Open Source M2M - http://mango.serotoninsoftware.com
    Copyright (C) 2006-2009 Serotonin Software Technologies Inc.
    @author Matthew Lohbihler
    
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see http://www.gnu.org/licenses/.
 -->
<!--<p><b>Number formats</b> are used to determine how to display and-->
<!--parse numbers values, converting between internal floating point or-->
<!--integer representations and text. For example, the number 1234.5678-->
<!--could be formatted as shown, but it may be preferred to be viewed as-->
<!--'1,234.6', or '1 234,567', or '1.2345678E3' depending upon the context-->
<!--and the value's semantics. The same patterns can be used to format a-->
<!--value for display as well as parsing text input into numeric values.</p>-->
<p><b>Formatos num&eacute;ricos</b> s&atilde;o usados para
determinar como mostrar e analisar valores num&eacute;ricos, convertendo
entre representa&ccedil;&otilde;es de pontos flutuantes internos ou
inteiros e textos. Por exemplo, o n&uacute;mero 1234.5678 pode ser
formatado dessa maneira, mas se desejado, pode ser visto como '1
234,567', ou '1.2345678E3' dependendo do contexto e da sem&acirc;ntica
do valor. Os mesmos padr&otilde;es podem ser usados para formatar o
valor para visualiza&ccedil;&atilde;o bem como para adaptar entradas de
texto em valores num&eacute;ricos.</p>

<!--<p>Number formatting in Scada-LTS is implemented by the DecimalFormat-->
<!--Java class, the details for which can be found <a-->
<!--	href="http://java.sun.com/j2se/1.4.2/docs/api/java/text/DecimalFormat.html"-->
<!--	target="_blank">here</a>. Some common patterns are provided below for-->
<!--convenience.</p>-->
<p>A formata&ccedil;&atilde;o de n&uacute;meros no Scada-LTS &eacute;
implementado pela classe DecimalFormat do Java, cujos detalhes podem ser
encontrados <a
	href="http://java.sun.com/j2se/1.4.2/docs/api/java/text/DecimalFormat.html"
	target="_blank">aqui</a>. Alguns padr&otilde;es comuns s&atilde;o
fornecidos abaixo.</p>

<!--<ul>-->
<!--	<li><b>#,##0.00</b> Comma separation at thousands. Always displays-->
<!--	the first integer digit and two decimal places (rounded).</li>-->
<!--	<li><b>0.000</b> Always displays the first integer digit and three-->
<!--	decimal places.</li>-->
<!--	<li><b>0.00;(0.00)</b> Always displays the first integer digit and-->
<!--	two decimal places. Displays negative numbers in parentheses.</li>-->
<!--</ul>-->
<ul>
	<li><b>#,##0.00</b> Separa&ccedil;&atilde;o por v&iacute;rgula nos
	milhares. Sempre mostra o primeiro d&iacute;gito inteiroe duas casas
	decimais (arredondadas).</li>
	<li><b>0.000</b> Semper mostra o primeiro d&iacute;gito inteiro e
	tr&ecirc;s casas decimais.</li>
	<li><b>0.00;(0.00)</b> Sempre mostra o primeiro d&iacute;gito
	inteiro e duas casas decimais. Mostra n&uacute;meros negativos entre
	par&ecirc;nteses.</li>
</ul>

<!--<p>Formatting may be localized depending upon your Java VM defaults.</p>-->
<p>A formata&ccedil;&atilde;o pode ser <i>localizada</i> dependendo
das configura&ccedil;&otilde;es padr&otilde;es de sua Java VM.</p>